package com.hkx.ioc.demo.domain;

import lombok.Data;
import lombok.experimental.Accessors;

/*
课代表
 */
@Data
@Accessors(chain = true)
public class ClassMonitor {
    private String name;
    public void collectHomework(){
        System.out.println("开始收作业了！");
        System.out.println("收作业完毕");
    }
}
